using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class CoinUI : MonoBehaviour
{

    public int startCoinQuanity;
    public Text coinQuanity;

    public static int CurrentCoinQuanity;
    // Start is called before the first frame update
    void Start()
    {
        CurrentCoinQuanity = startCoinQuanity;
    }

    // Update is called once per frame
    void Update()
    {
        coinQuanity.text = CurrentCoinQuanity.ToString ();
    }
}
